T e x t B l o c k   m y T e x t   =   n e w   T e x t B l o c k ( ) ; 
 
 m y T e x t . S e t R e s o u r c e R e f e r e n c e ( T e x t B l o c k . B a c k g r o u n d , 
 
         n e w   C o m p o n e n t R e s o u r c e K e y ( t y p e o f ( M y T y p e ) ,   " b r u s h 1 " ) ) ; 
 
 
 
 